/***API***/
import * as baseAPI from "@/api";
const request = baseAPI.request;

const API = {
  getRoleList: obj => {
    let requestData = {
      method: "post",
      url: "Rselect/CGetRoleList",
      data: obj
    };
    return request(requestData);
  },

  login: obj => {
    let requestData = {
      method: "post",
      url: "Home/CLogin",
      data: obj
    };
    return request(requestData);
  }
};

export default API;
